<!DOCTYPE html>
<html>
    <head>
        <script type="text/javascript">
            window.onload = function(){
                document.body.ondragenter = function(){
                    alert("你来拉");
                }
            }
        </script>
    </head>
    <body draggable="true">

    </body>
</html>